# XFAIL: system-windows
# REQUIRES: native && target-x86
# RUN: %clangxx_host -fomit-frame-pointer %p/Inputs/x86-gp-read.cpp -o %t
# RUN: %lldb -b -s %s %t | FileCheck %s
process launch

register read --all
# CHECK-DAG: eax = 0x05060708
# CHECK-DAG: ebx = 0x15161718
# CHECK-DAG: ecx = 0x25262728
# CHECK-DAG: edx = 0x35363738
# CHECK-DAG: edi = 0x75767778
# CHECK-DAG: esi = 0x65666768
# CHECK-DAG: ebp = 0x55565758
# CHECK-DAG: esp = 0x45464748
# CHECK-DAG: ax = 0x0708
# CHECK-DAG: bx = 0x1718
# CHECK-DAG: cx = 0x2728
# CHECK-DAG: dx = 0x3738
# CHECK-DAG: di = 0x7778
# CHECK-DAG: si = 0x6768
# CHECK-DAG: bp = 0x5758
# CHECK-DAG: sp = 0x4748
# CHECK-DAG: ah = 0x07
# CHECK-DAG: bh = 0x17
# CHECK-DAG: ch = 0x27
# CHECK-DAG: dh = 0x37
# CHECK-DAG: al = 0x08
# CHECK-DAG: bl = 0x18
# CHECK-DAG: cl = 0x28
# CHECK-DAG: dl = 0x38

process continue
# CHECK: Process {{[0-9]+}} exited with status = 0
